package com.sannuo.system.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sannuo.common.domain.Menu;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface MenuMapper extends BaseMapper<Menu> {

    List<Menu> selectMenu();

    int updateMenu(Menu menu);

    int addMenu(Menu menu);

    int deleteMenu (int id);

}
